package com.etc.RCCPA004.service.imp;

import java.util.List;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.etc.RCCPA004.dao.ConsultMapper;
import com.etc.RCCPA004.service.IConsultService;
import com.etc.RCCPA004.vo.ConsultMstVo;

/**
 * 
 * Filename:    ConsultSericeImp.java  
 * Description:  咨询管理业务类 
 * Copyright:   Copyright (c) 2018-2019 All Rights Reserved.
 * Company:     chinasofti.com Inc.
 * @author:     mazheng 
 * @version:    1.0  
 * Create at:   2020年3月15日 下午3:05:06  
 *  
 * Modification History:  
 * Date         Author      Version     Description  
 * ------------------------------------------------------------------  
 * 2020年3月15日      mazheng      1.0         1.0 Version  
 *
 */
@Service
public class ConsultSericeImp implements IConsultService{

    @Autowired
    ConsultMapper mapper;
    
    /**
     * 获取所有产品列表
     */
    @Override
    public List<Map> findAllProductType() {
        
        return mapper.findAllProductType();
    }

    /**
     * 根据条件查询数据
     */
    @Override
    public List<Map> findByCondition(ConsultMstVo vo) {
        // TODO Auto-generated method stub
        return mapper.selectByCondition(vo);
    }

}
